<?php

/**
 * SiteUrl form.
 *
 * @package    reduceri-cadouri
 * @subpackage form
 * @author     Your name here
 */
class SiteUrlForm extends BaseSiteUrlForm
{
  public function configure()
  {
    $this->widgetSchema['site_id'] = new sfWidgetFormInputHidden();
    
    $cityCriteria = new Criteria();
    $cityCriteria->addAscendingOrderByColumn(CityPeer::NAME);
 
    $this->widgetSchema['city_id']->setOption('criteria', $cityCriteria);
  }
}
